<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>作业</title>
	<script>
		var num1=10; var num2=20;
		num1=prompt('输入数字');
		console.log(num2);
		num2=prompt('输入数字');
		console.log(num1);
	
	</script>
</head>
<body>
	
</body>
</html>